package com.khyr.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName sys_oper_log
 */
@TableName(value ="sys_oper_log")
@Data
public class OperLog implements Serializable {
    private Long operId;

    private Integer operatorType;

    private String title;

    private String businessType;

    private String method;

    private String requestMethod;

    private String operName;

    private String operUrl;

    private String operIp;

    private String operLocation;

    private String operParam;

    private String jsonResult;

    private String status;

    private String errorMsg;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date operTime;

    private static final long serialVersionUID = 1L;
}